package com.ly.heart.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ly.common.core.domain.BaseVo;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * <p>
 * 客户拜访申请明细
 * </p>
 *
 * @author WuZH
 * @since 2024-09-29
 */
@Getter
@Setter
@TableName ( "erp_customer_visit_detail_info" )
@ApiModel ( value = "CustomerVisitDetailEntity对象", description = "客户拜访申请明细" )
public class CustomerVisitDetailEntity extends BaseVo {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty ( "id" )
    @TableId ( value = "id", type = IdType.INPUT )
    private String id;

    @ApiModelProperty ( "客户拜访表Id" )
    @TableField ( "customer_visit_id" )
    private String customerVisitId;

    @ApiModelProperty ( "行政礼品编号" )
    @TableField ( "material_code" )
    private String materialCode;

    @ApiModelProperty ( "行政礼品单位" )
    @TableField ( "material_unit" )
    private String materialUnit;

    @ApiModelProperty ( "行政礼品数量" )
    @TableField ( "num" )
    private String num;

    @ApiModelProperty ( "创建人" )
    @TableField ( "create_by" )
    private String createBy;

    @ApiModelProperty ( "创建时间" )
    @TableField ( "create_time" )
    private Date createTime;

    @ApiModelProperty ( "更新人" )
    @TableField ( "update_by" )
    private String updateBy;

    @ApiModelProperty ( "更新时间" )
    @TableField ( "update_time" )
    private Date updateTime;

    @ApiModelProperty ( "逻辑删除" )
    @TableField ( "is_used" )
    private Integer isUsed;

    @TableField ( exist = false )
    private String materialName;

    @TableField ( exist = false )
    private String materialUnitName;


}
